/** @file
 *  @brief MAVLink comm protocol generated from rams_msg.xml
 *  @see http://mavlink.org
 */
#pragma once
#ifndef MAVLINK_RAMS_MSG_H
#define MAVLINK_RAMS_MSG_H

#ifndef MAVLINK_H
    #error Wrong include order: MAVLINK_RAMS_MSG.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
#endif

#undef MAVLINK_THIS_XML_IDX
#define MAVLINK_THIS_XML_IDX 0

#ifdef __cplusplus
extern "C" {
#endif

// MESSAGE LENGTHS AND CRCS

#ifndef MAVLINK_MESSAGE_LENGTHS
#define MAVLINK_MESSAGE_LENGTHS {}
#endif

#ifndef MAVLINK_MESSAGE_CRCS
#define MAVLINK_MESSAGE_CRCS {{919, 106, 32, 32, 0, 0, 0}, {920, 229, 176, 176, 0, 0, 0}, {921, 44, 1, 1, 0, 0, 0}}
#endif

#include "../protocol.h"

#define MAVLINK_ENABLED_RAMS_MSG

// ENUM DEFINITIONS


/** @brief  */
#ifndef HAVE_ENUM_CMD
#define HAVE_ENUM_CMD
typedef enum CMD
{
   START_TX=0, /* Start transferring data | */
   STOP_TX=1, /* Stop transferring data | */
   GET_CALIB=2, /* Get calibration data | */
   SAVE_CALIB=3, /* Save calibration data | */
   CMD_ENUM_END=4, /*  | */
} CMD;
#endif

// MAVLINK VERSION

#ifndef MAVLINK_VERSION
#define MAVLINK_VERSION 3
#endif

#if (MAVLINK_VERSION == 0)
#undef MAVLINK_VERSION
#define MAVLINK_VERSION 3
#endif

// MESSAGE DEFINITIONS
#include "./mavlink_msg_acc_data.h"
#include "./mavlink_msg_acc_calib.h"
#include "./mavlink_msg_acc_cmd.h"

// base include


#undef MAVLINK_THIS_XML_IDX
#define MAVLINK_THIS_XML_IDX 0

#if MAVLINK_THIS_XML_IDX == MAVLINK_PRIMARY_XML_IDX
# define MAVLINK_MESSAGE_INFO {MAVLINK_MESSAGE_INFO_ACC_DATA, MAVLINK_MESSAGE_INFO_ACC_CALIB, MAVLINK_MESSAGE_INFO_ACC_CMD}
# define MAVLINK_MESSAGE_NAMES {{ "ACC_CALIB", 920 }, { "ACC_CMD", 921 }, { "ACC_DATA", 919 }}
# if MAVLINK_COMMAND_24BIT
#  include "../mavlink_get_info.h"
# endif
#endif

#ifdef __cplusplus
}
#endif // __cplusplus
#endif // MAVLINK_RAMS_MSG_H
